home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: newsfeed.internetmci.com!miwok!linex1!news
- From: mfried@linex.com (Marty Fried)
- Subject: Re: "Pure virtual function called" error with Sparcworks
- X-Nntp-Posting-Host: sp106.linex.com
- Message-ID: <316ff506.4757389@news.linex.com>
- Sender: news@linex1.linex.com
- Organization: Cirrius Cybernetics Corp
- X-Newsreader: Forte Agent .99e/32.209
- References: <316B8607.41C67EA6@jpmorgan.com>
- Date: Sat, 13 Apr 1996 18:44:04 GMT
-
- Once upon a time (OK, it was Wed, 10 Apr 1996 10:57:27 +0100), Oliver
- Peck <peck_oliver@jpmorgan.com> wrote:
-
- >I am using V4.0.1 of the Sparcworks C++ compiler.
- >
- >A program is occasionally crashing with the message:-
- >
- >"**** Pure virtual function called"
- >
- >Does anyone know what this may mean?
-
- Probably that a pure virtual function was called <g>. By definition,
- a pure virtual function is one that must be overridden by any derived
- classes - you can't call the base class function. It is only defined
- in the base class so that the base class will have a way to call the
- derived function.
-
- _______________________________________________________
- Marty Fried - mfried@linex.com Press Enter to Exit
- San Anselmo, CA -NT message
- (MSVC4 + MFC) && (Win95 || NT);
-